

# Dockerfile
FROM node:11.13.0-alpine

# create destination directory
RUN mkdir -p /usr/src/my-project
WORKDIR /usr/src/my-project

# update and install dependency
RUN apk update && apk upgrade
RUN apk add git

# copy the app, note .dockerignore

COPY . /usr/src/my-project/
RUN rm -rf node_modules
RUN npm install
#RUN npm run build


CMD [ "npm", "run","dev" ]
